<%-- 
    Document   : modify
    Created on : new Date(), 21:59:17
    Author     : ccp <568093091@qq.com>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="front/css/home-page.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/modify.css"/>
        <script src="front/js/jquery-1.11.2.js"></script>
        <script src="front/js/home-page.js"></script>
        <title>个人信息修改</title>
    </head>
    <body class="all-page modify-page">
        <div class="header">
            <ul class="parent">
                <li><a href="login">首页</a></li>
                <li><a href="#">个人信息</a>
                    <ul>
                        <li><a href="/LabRegistration/modify">修改个人信息</a></li>
                        <li><a href="/LabRegistration/modifyPassword">修改个人密码</a></li>
                        <li><a href="/LabRegistration/borrowInformation">查看借阅信息</a></li>
                        <li><a href="/LabRegistration/attendanceHistory">查看签到历史</a></li>
                    </ul>
                </li>
                <li><a href="#">文件中心</a>
                    <ul>
                        <li><a href="upload">上传文件</a></li>
                        <li><a href="chackFile">查找文件</a></li>
                    </ul>
                </li>
                <li><a href="GoodsCenter">物品中心</a>
                    <ul>
                    </ul>
                </li>
                <li><a href="#">项目管理</a>
                    <ul>
                        <li><a href="projectManagement">所有项目</a></li>
                        <li><a href="myProject">我的项目</a></li>
                    </ul>
                </li>
                <li><a href="project-register">活动报名</a>
                </li>
                <li><a href="gitAndBlog.html">分享交流</a>
                    <ul></ul>
                </li>			
            </ul>
            <div class="current-and-exit">
                <a class="exit" href="loginout">退出登录</a>
                <p class="current-user">当前用户：${loginUser.getUserName()}</p>
            </div>
        </div>
        <p class="copyrights">copyrights © 2015-2016 SCAU E-TOP</p>

        <div class="modify-panel">
            <p class="title">个人信息修改</p>
            <form:form method="post" action="modify.do" modelAttribute="loginUser">
                <form:hidden path="id" />
                <label for="user-id" class="for-user-id">学号</label>
                <form:input  path="stuNum" type="text" readonly="true" id="user_id"/>
                <label for="user-name" class="for-user-name">姓名</label>
                <form:input  path="userName" type="text" readonly="true" id="user-name"/>
                <label for="sex" class="for-sex">性别</label>
                <form:select id="sex" path="gender">
                    <form:option value="1" >男</form:option>
                    <form:option value="0">女</form:option>
                </form:select>
                <label for="userGrade" class="for-major">班级</label>
                <form:input path="userGrade" type="text" id="userGrade"/>

                <label for="address" class="for-university">住址</label>
                <form:input  path="address" type="text" d="address"/>

                <label for="email" class="for-email">Email</label>
                <form:input  path="email" type="text" id="email"/>

                <label for="tel" class="for-qq">联系电话</label>
                <form:input  path="tel" type="text" id="tel"/>

                <label for="gitAccount" class="for-address">git账号</label>
                <form:input  path="gitAccount" type="text" id="gitAccount"/>

                <div class="button">
                    <button type="submit" class="submit">保存</button>
                    <button type="reset" class="reset">重置</button>
                </div>

            </form:form>

        </div>
    </body>
</html>
